package com.healthcloud.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.healthcloud.entity.FoodGuidance;
import com.healthcloud.utils.PageParam;

/**
 * Created by houxianghua on 2016/5/10.
 */
public interface FoodGuidanceMapper extends CRUDMapper<FoodGuidance, Long> {
    List<FoodGuidance> findByLikeName(@Param("foodName") String foodName);

    List<FoodGuidance> getNewFood(@Param("foodName")String foodName, @Param("pageParam")PageParam pageParam);

    List<FoodGuidance> getHotFood(@Param("foodName")String foodName, @Param("pageParam")PageParam pageParam);
}
